#pragma once

#include "FrameOperation.h"

class CLoadFunctionOperation : public IFrameOperation
{
public:
    CLoadFunctionOperation(std::shared_ptr<CFunctionDescription> InFunctionDescription)
    {
        FunctionDescription = InFunctionDescription;
    }

    virtual EFrameOperationType GetType() const override
    {
        return EFrameOperationType::LoadFunction;
    }

    std::shared_ptr<CFunctionDescription> GetFunctionDescription() const
    {
        return FunctionDescription;
    }

protected:
    std::shared_ptr<CFunctionDescription> FunctionDescription;
};